/*
 *    Copyright (c) 2018-2025, proj All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the proj developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: proj
 */

package com.ykht.proj.coupon.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 品牌账户资金流水
 *
 * @author proj code generator
 * @date 2021-08-18 18:18:54
 */
@Data
@TableName("fx_brand_money_flow")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "品牌账户资金流水")
public class FxBrandMoneyFlow extends Model<FxBrandMoneyFlow> {
private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId
    @ApiModelProperty(value="")
    private Long id;
    /**
     * 提现批次编号
     */
    @ApiModelProperty(value="提现批次编号")
    private String batchNumber;
    /**
     * 公司id
     */
    @ApiModelProperty(value="公司id")
    private Long companyId;
    /**
     * 品牌id
     */
    @ApiModelProperty(value="品牌id")
    private Long brandId;
    /**
     * 0充值1提现
     */@ApiModelProperty(value="0充值1提现")
    private Integer flowType;
    /**
     * 充值金额
     */
    @ApiModelProperty(value="充值金额")
    private BigDecimal flowMoney;
    /**
     * 充值后余额
     */
    @ApiModelProperty(value="充值后余额")
    private BigDecimal balanceMoney;
    /**
     * 订单编号
     */
    @ApiModelProperty(value="订单编号")
    private String orderId;
    /**
     * 微信交易编号（pc手输）
     */
    @ApiModelProperty(value="微信交易编号（pc手输）")
    private String wxTradeId;
    @ApiModelProperty(value="fx_reward_person表id")
    private Long rewardPersonId;
    @ApiModelProperty(value="cn_coupon_log表id")
    private Long couponLogId;
    /**
     * 交易编号
     */
    @ApiModelProperty(value="交易编号")
    private String tradeId;
    /**
     * 充值方式：0线下微信转账1支付宝2后台3银行卡
     */
    @ApiModelProperty(value="充值方式：0线下微信转账1支付宝2后台3银行卡")
    private Integer way;
    /**
     * 创建人
     */
    @ApiModelProperty(value="创建人")
    private Long createUser;
    /**
     * 修改人
     */
    @ApiModelProperty(value="修改人")
    private Long updateUser;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value="更新时间")
    private LocalDateTime updateTime;
    /**
     * 0可用1删除
     */
    @ApiModelProperty(value="0可用1删除")
    private Integer delFlag;
    /**
     * 租户ID
     */
    @ApiModelProperty(value="租户ID",hidden=true)
    private Integer tenantId;



    }
